home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / OS / FWGraphx / FWGConst.h < prev    next >
Encoding:
Text File  |  1996-09-17  |  3.0 KB  |  103 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWGConst.h
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWGCONST_H
  11. #define FWGCONST_H
  12.  
  13. // ----- OpenDoc Includes -----
  14.  
  15. #ifndef FWODTYPS_H
  16. #include "FWODTyps.h"
  17. #endif
  18.  
  19. // ----- Macintosh Includes -----
  20.  
  21. #if defined(FW_BUILD_MAC) && !defined(__QUICKDRAW__)
  22. #include <QuickDraw.h>
  23. #endif
  24.  
  25. // ----- Windows Includes -----
  26.  
  27. #if defined(FW_BUILD_WIN) && !defined(_INC_WINDOWS)
  28. #include <windows.h>
  29. #endif
  30.  
  31. // ----- ODF Includes -----
  32.  
  33. #ifndef FWPAT_H
  34. #include "FWPat.h"
  35. #endif
  36.  
  37. #ifndef SLGCONST_K
  38. #include "SLGConst.k"
  39. #endif
  40.  
  41. //========================================================================================
  42. //    Forward Declarations
  43. //========================================================================================
  44.  
  45. class    FW_CColor;
  46. class    FW_CString32;
  47. class    FW_CPoint;
  48. class    FW_CRect;
  49.  
  50. //========================================================================================
  51. //    Graphic System
  52. //========================================================================================
  53.  
  54. #ifdef FW_BUILD_MAC
  55. const ODGraphicsSystem FW_kGraphicSystem = kODQuickDraw;
  56. #endif
  57.  
  58. #ifdef FW_BUILD_WIN
  59. const ODGraphicsSystem FW_kGraphicSystem = kODWindows;
  60. #endif
  61.  
  62. //========================================================================================
  63. //    Globals
  64. //========================================================================================
  65.  
  66. // ----- Standard colors -----
  67. extern const FW_SColor            FW_kRGBBlack;
  68. extern const FW_SColor            FW_kRGBWhite;
  69. extern const FW_SColor            FW_kRGBRed;
  70. extern const FW_SColor            FW_kRGBYellow;
  71. extern const FW_SColor            FW_kRGBBlue;
  72. extern const FW_SColor            FW_kRGBGreen;
  73. extern const FW_SColor            FW_kRGBBrown;
  74. extern const FW_SColor            FW_kRGBPurple;
  75. extern const FW_SColor            FW_kRGBLightBlue;
  76. extern const FW_SColor            FW_kRGBGray;
  77. extern const FW_SColor            FW_kRGBLightGray;
  78. extern const FW_SColor            FW_kRGBDarkGray;
  79.  
  80. // ----- Standard Patterns -----
  81. extern const FW_BitPattern        FW_kBlackPat;
  82. extern const FW_BitPattern        FW_kWhitePat;
  83. extern const FW_BitPattern        FW_kGrayPat;
  84. extern const FW_BitPattern        FW_kLightGrayPat;
  85. extern const FW_BitPattern        FW_kDarkGrayPat;
  86. extern const FW_BitPattern        FW_kHorizontalPat;
  87. extern const FW_BitPattern        FW_kVerticalPat;
  88. extern const FW_BitPattern        FW_kFDiagonalPat;
  89. extern const FW_BitPattern        FW_kBDiagonalPat;
  90. extern const FW_BitPattern        FW_kCrossPat;
  91. extern const FW_BitPattern        FW_kDiagCrossPat;
  92. extern const FW_BitPattern        FW_kAntPat;
  93.  
  94. // ------ Standard font names -----
  95. const FW_CString32&             FW_GetSystemFontName();
  96. const FW_CString32&             FW_GetDefaultFontName();
  97. const FW_CString32&             FW_GetHelveticaFontName();
  98. const FW_CString32&             FW_GetTimesFontName();
  99. const FW_CString32&             FW_GetCourierFontName();
  100. const FW_CString32&             FW_GetPalatinoFontName();
  101.  
  102. #endif
  103.